package grafica;

import javax.swing.JFrame;
import javax.swing.JPanel;

import net.Server;

public class ServerFrame extends JFrame implements Runnable {
	JPanel pannelloPrincipale;
	Server server;
	
	public ServerFrame() {
		super();
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		pannelloPrincipale = new JPanel();
		this.getContentPane().add(pannelloPrincipale);
		this.setSize(400,400);
		this.setVisible(true);
		new Thread(this).start();
	}

	public void run() {
		server = new Server();		
	}

}
